package com.jet.multichat.server;

import java.util.Scanner;

//TODO:[au] write a contract to the class
public class AuthenticationUser {

	public static Message authentificateUser() {
		
		System.out.println("Input login");
		Scanner scanner = new Scanner(System.in);
		String login = scanner.nextLine();
		System.out.println("Input password");
		String password = scanner.nextLine();
		scanner.close();
		return new Message("autentification",login + " " + password);
		
	}
}
